package com.coda.service;

import com.coda.pojo.WordSetting;

/**
 * 默写设置接口
 */
public interface WordSettingService {

    /**
     * 添加默写设置
     * @param wordSetting
     * @return
     */
    int setWordSetting(WordSetting wordSetting);

    /**
     * 删除单词设置
     * @return
     */
    int deleteWordSetting();

    /**
     * 获取当前用户的单词设置
     * @param currentId
     * @return
     */
    WordSetting getSetting(Integer currentId);
}
